package com.qy139.auth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qy139.entity.TabUserRole;

import java.util.List;

/**
 * <p>
 * 用户和角色关联表 Mapper 接口
 * </p>
 *
 * @author yuhaochen
 * @since 2021-12-01
 */
public interface TabUserRoleMapper extends BaseMapper<TabUserRole> {
    //根据用户ID查询角色ID
    List<Integer> getRolesIdByUid(Integer id);
}
